package com.rxt.thermopro.widget

import android.content.Context
import android.util.AttributeSet
import android.view.MotionEvent
import android.view.View

class EnableFrameLayout @JvmOverloads constructor(
    context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0
) : View(context, attrs, defStyleAttr) {

    override fun dispatchTouchEvent(event: MotionEvent?): Boolean {
        println("========>dispatchTouchEvent")
        return true
    }

    override fun onTouchEvent(event: MotionEvent?): Boolean {
        println("========>onTouchEvent")
        return true
    }

}